<template>
	<view class="content">
        <Head>头部</Head>
		<view class="card-box">
			<view @click="item.callback" v-for="(item,index) in cardList" :key="index" class="item">
				{{item.label}}
			</view>
		</view>
	</view>
</template>

<script lang="ts">
    import Vue from 'vue';

	interface Card {
		label: string,
		callback: Function
	}
	export default class Index extends Vue　{
		
		public cardList: Card[] = [
			{
				label: '打开双击熄屏',
				callback: ()=> {

				}
			}
		]

		protected developleToast () {
			
		}
	}
</script>

<style>
	
</style>
